package ui;
use strict;
use warnings;
use Curses;

our ($freshener, $fresharg);

sub init {
    initscr();
    cbreak();
    noecho();
    nonl();
    keypad(stdscr, 1);
}

sub done {
    endwin();
}

sub fresh_ref {
    ($freshener, $fresharg) = @_;
}
    
# sub refresh - for now goes straight to curses

sub getkey {
    return getch();
}

1;

